<#global DEBUG = true>
<#global componentIndex = '${ctx}/admin/component/source.html'>
<#global componentSource = '${ctx}/admin/component/source.html'>
<#global componentTemplate = '${ctx}/admin/component/template.html'>
<#global componentInstance = '${ctx}/admin/component/instance/list.html'>

<#global pageIndex = '${ctx}/admin/page/page.html'>
<#global pageAdd = '${ctx}/admin/page/page/add.html'>
<#global pageTemplate = '${ctx}/admin/page/template.html'>

<#global subjectIndex = '${ctx}/admin/page/subject.html'>

<#global contentIndex = '${ctx}/admin/content/article.html'>
<#global contentArticle = '${ctx}/admin/content/article.html'>
<#global contentDraft = '${ctx}/admin/content/draft.html'>
<#global contentLink = '${ctx}/admin/content/link.html'>
<#global contentPhoto = '${ctx}/admin/content/photo.html'>
<#global contentWatermark = '${ctx}/admin/content/watermark.html'>
<#global contentRelease = '${ctx}/admin/content/release'>

<#global myIndex = '${ctx}/admin/my.html'>
<#global myCategory = '${ctx}/admin/my/category.html'>

<#global settingIndex = '${ctx}/admin/setting/category.html'>
<#global categoryArticle = '${ctx}/admin/setting/category.html'>
<#global categoryTemplate = '${ctx}/admin/setting/category/template.html'>
<#global styleIndex = '${ctx}/admin/setting/style.html'>

<#if DEBUG?? && DEBUG>
  <#global fed = '/fed'>
  <#global appRoot = '${ctx}${fed}/src/app'>
  <#global jsRoot = '${ctx}${fed}/src/js'>
  <#global cssRoot = '${ctx}${fed}/src/css'>
  <#global imgRoot = '${ctx}${fed}/src/img'>
<#else>
  <#global appRoot = '${ctx}/dist/app'>
  <#global jsRoot = '${ctx}/dist/js'>
  <#global cssRoot = '${ctx}/dist/css'>
  <#global imgRoot = '${ctx}/dist/img'>
</#if>